package sk.stuba.fiit.foo07.genex.beans;

import java.util.ArrayList;

public class ExportQuestion {
    public Integer QuestionID;
    public String text;
    public String points;
    public String pointsFloat;
    public ArrayList<ExportAnswer> answerList;
    public ArrayList<ExportPicture> pictureList;
    public boolean hasNoAnswers = false;

    public ExportQuestion(Integer QuestionID, String text, String points,
            String pointsFloat, ArrayList<ExportAnswer> answers,
            ArrayList<ExportPicture> pictureList) {
        this.QuestionID = QuestionID;
        this.text = text;
        this.points = points;
        this.pointsFloat = pointsFloat;
        this.answerList = answers;
        this.pictureList = pictureList;
        hasNoAnswers = answers.isEmpty();
    }

    public String getTEXT() {
        return text;
    }

    public void setTEXT(String text) {
        this.text = text;
    }

    public String getPOINTS() {
        return points;
    }

    public void setPOINTS(String points) {
        this.points = points;
    }

    public ArrayList<ExportAnswer> getANSWERLIST() {
        return answerList;
    }

    public void setANSWERLIST(ArrayList<ExportAnswer> ansList) {
        this.answerList = ansList;
    }

    public ArrayList<ExportPicture> getPICTURELIST() {
        return pictureList;
    }

    public void setPICTURELIST(ArrayList<ExportPicture> pictureList) {
        this.pictureList = pictureList;
    }

    public boolean getHASNOANSWERS() {
        return hasNoAnswers;
    }

    public Integer getQuestionID() {
        return QuestionID;
    }

    public void setQuestionID(Integer questionID) {
        QuestionID = questionID;
    }

    public String getPOINTSFLOAT() {
        return pointsFloat;
    }

    public void setPointsFloat(String pointsFloat) {
        this.pointsFloat = pointsFloat;
    }

}